#ifndef _ERROR_CODE_
#define _ERROR_CODE_

#define	ERROR_SUCCESS		0x00000000
#define	ERROR_INPUT_EMPTY	0xFFFFFFFF
#define ERROR_SOCKET_CREATE	0xFFFFFFFE
#define ERROR_CONNECT_FAILED	0xFFFFFFFD
#define	ERROR_SEND_FAILED	0xFFFFFFFC
#define	ERROR_RECEIVE_FAILED	0xFFFFFFFB
#define	ERROR_HELLO_DATA	0xFFFFFFFA
#define	ERROR_DESTRUCT_SERVER	0xFFFFFFF9
#define	ERROR_ANSWER_SERVER	0xFFFFFFF8
#define	ERROR_CONSTRUCT_PACKET	0xFFFFFFF7
#define	ERROR_DESTRUCT_PACKET	0xFFFFFFF6
#define	ERROR_PACKET_DAMAGE	0xFFFFFFF5
#define	ERROR_SM4_VERIFY	0xFFFFFFF4
#define	ERROR_SM2KEY_INIT	0xFFFFFFF3
#define	ERROR_SM2_VERIFY	0xFFFFFFF2
#define	ERROR_SM2_GEN_KEY	0xFFFFFFF1
#define	ERROR_SAPDATA_DAMAGE	0xFFFFFFF0
#define	ERROR_SEC_TRANS	        0xFFFFFFEF
#define	ERROR_SOCKET_SELECT     0xFFFFFFEE
#define	ERROR_RECOVER_INIT      0xFFFFFFED
#define	ERROR_MEMORY_EMPTY      0xFFFFFFEC

#endif//_ERROR_CODE_